package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 客户状态变更日志实体类
 */
@Data
@TableName("customer_status_log")
public class CustomerStatusLog {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("customer_id")
    private Long customerId;
    
    @TableField("customer_name")
    private String customerName;
    
    @TableField("old_status")
    private String oldStatus;
    
    @TableField("new_status")
    private String newStatus;
    
    @TableField("change_reason")
    private String changeReason;
    
    @TableField("operator")
    private String operator;
    
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}